package com.ad.payload.dto.merchant;

import com.ad.payload.model.PageDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author:dxgong
 * @日期 2021/3/25 17:46
 * @注释
 */
@Data
public class ItemDetailPageDto extends PageDto {


//    @NotNull(message="商品分类id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long classId;

    @NotNull(message="商家id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long merchantId;

}
